package com.sky.mapper;

import com.sky.dto.ReportOrder;
import com.sky.dto.statusOrder;
import com.sky.entity.Orders;
import com.sky.entity.WorkOrder;
import org.apache.ibatis.annotations.Mapper;

import java.util.ArrayList;

@Mapper
public interface OrderMapper {
    ArrayList<WorkOrder> selectOrder(ReportOrder reportOrder);
    void insert(Orders orders);

    void update(Orders orders);


    ArrayList<Orders> selectsUserOrder(statusOrder statusOrder);

    void updateFinish(Orders orders);

    void batchUpdateOrders(Long reportNumber);

    void batchUpdateOrdersfinish(Long reportNumber);

    ArrayList<WorkOrder> selectStatusOrders(String status);

    void remind(Long id);
}
